datasets_dir="${HOME}/yolo_ly/datasets"
if [ ! -d "${datasets_dir}" ]; then
  mkdir "${datasets_dir}"
fi
# 复制数据集
scp -r ly@192.168.9.102:/home/ly/yolo_ly/datasets  "${datasets_dir}"

Download_dir="${HOME}/Downloads"
if [ ! -d "${Download_dir}" ]; then
  mkdir "${Download_dir}"
fi

#wget -O ${Download_dir}/Anaconda3-2021.11-Linux-x86_64.sh https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2021.11-Linux-x86_64.sh
scp -r musk@192.168.9.102:/home/Downloads/Anaconda3-2021.11-Linux-x86_64.sh "${Download_dir}/"

bash ${Download_dir}/Anaconda3-2021.11-Linux-x86_64.sh

# 应该从网上download文件放到响应的目录, 然后更改
#condarc_tsinghua

# 更改pip源
#pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

# 更改 .bashrc
conda activate yolo_ly; cd ${HOME}/yolo_ly/yolov5-v5.0





